/**  
* @author hongchun.li  
* @date 2013-4-20 下午07:15:36
* @version V1.0  
*/ 
package com.apis.bussiness.entity.impl;

import java.sql.Date;

import com.apis.bussiness.entity.IGoods;
import com.apis.bussiness.entity.IGoodsSale;
import com.apis.security.entity.IUser;
import com.apis.security.entity.impl.UserImpl;

/**
 * @author hongchun.li
 *
 */
public class GoodsSaleImpl implements IGoodsSale {
	private Integer id;
	private GoodsImpl goods;
	private int quality;
	private float unitPrice;
	private String orderCode;
	private Date date;
	private UserImpl customer;
	
	@Override
	public Integer getId() {
		return id;
	}
	
	@Override
	public void setId(Integer id) {
		this.id = id;
	}
	
	@Override
	public GoodsImpl getGoods() {
		return goods;
	}
	
	@Override
	public void setGoods(GoodsImpl goods) {
		this.goods = goods;
	}
	
	@Override
	public int getQuality() {
		return quality;
	}
	
	@Override
	public void setQuality(int quality) {
		this.quality = quality;
	}
	
	@Override
	public float getUnitPrice() {
		return unitPrice;
	}
	
	@Override
	public void setUnitPrice(float unitPrice) {
		this.unitPrice = unitPrice;
	}
	
	@Override
	public String getOrderCode() {
		return orderCode;
	}
	
	@Override
	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}
	
	@Override
	public Date getDate() {
		return date;
	}
	
	@Override
	public void setDate(Date date) {
		this.date = date;
	}
	
	@Override
	public UserImpl getCustomer() {
		return customer;
	}
	
	@Override
	public void setCustomer(UserImpl customer) {
		this.customer = customer;
	}
}